home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / program / n_b_v203.zip / SELCIRCL.DMO < prev    next >
Text File  |  1996-07-04  |  3KB  |  42 lines

  1. $if 0
  2.     ┌──────────────────────────╖                        PowerBASIC v3.20
  3.  ┌──┤          DASoft          ╟──────────────────────┬──────────────────╖
  4.  │  ├──────────────────────────╢    Copyright 1995    │ DATE: 1995-10-01 ╟─╖
  5.  │  │ FILE NAME   SELCIRCL.DMO ║          by          ╘════════════════─ ║ ║
  6.  │  │                          ║  Don Schullian, Jr.                     ║ ║
  7.  │  ╘══════════════════════════╝                                         ║ ║
  8.  │ A license is hereby granted to the holder to use this source code in  ║ ║
  9.  │ any program, commercial or otherwise,  without receiving the express  ║ ║
  10.  │ permission of the copyright holder and without paying any royalties,  ║ ║
  11.  │ as long as this code is not distributed in any compilable format.     ║ ║
  12.  │  IE: source code files, PowerBASIC Unit files, and printed listings   ║ ║
  13.  ╘═╤═════════════════════════════════════════════════════════════════════╝ ║
  14.    │                ....................................                   ║
  15.    ╘═══════════════════════════════════════════════════════════════════════╝
  16.    Like the arrows, this is one of those GUI things that it is difficult to
  17.    leave home without. The thing simply draws a circle with or without a
  18.    dot in the center to indicate ON/OFF.
  19. $endif
  20.  
  21. '.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°
  22. ' ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° °
  23.                                            '┌────────────────────────────────
  24. $INCLUDE "DAS-NB01.INC"                    '│
  25. $INCLUDE "DAS-NBV1.INC"                    '│
  26. $INCLUDE "DAS-NBV2.INC"                    '│
  27.                                            '│
  28. CLS                                        '│ get over to VGA color screen
  29. SCREEN 12                                  '│
  30. GraphicSETUP                               '│ set-up for DASoft's graphics
  31. fLoadDAScolor                              '│
  32.                                            '│
  33. LOCATE 2, 4 : PRINT "This is OFF!"         '│ a little message
  34. LOCATE 5, 4 : PRINT "This is ON!"          '│ another little message
  35.                                            '│
  36. SelectCircle 4, 16, 15, 0                  '│ put the circle without dot
  37. SelectCircle 4, 64, 15, 1                  '│ put the circle with a dot
  38.                                            '│
  39. WHILE NOT INSTAT : WEND                    '│ a clean exit
  40. CLS : PALETTE : SCREEN 0 : END             '└─────────────────────────────────
  41.  
  42.